﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.DTOS.StatusMonitor
{
    public class UnitTurboChargerModel
    {
        /// <summary>
        /// 设备Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 多语言展示名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        /// 转速时间戳
        /// </summary>
        public DateTime? SpeedTs { get; set; }

        /// <summary>
        /// 转速Td原始值
        /// </summary>
        public float? SpeedOrg { get; set; }

        /// <summary>
        /// 转速
        /// </summary>
        public string Speed => SpeedOrg?.ToString();

        /// <summary>
        /// 滑油进口压力时间戳
        /// </summary>
        public DateTime? InletPressureTs { get; set; }

        /// <summary>
        /// 滑油进口压力Td原始值
        /// </summary>
        public float? InletPressureOrg { get; set; }

        /// <summary>
        /// 滑油进口压力
        /// </summary>
        public string InletPressure => InletPressureOrg?.ToString();

        /// <summary>
        /// 增压器滑油出口压力
        /// </summary>
        public DateTime? OutletPressureTs { get; set; }

        /// <summary>
        /// 增压器滑油出口压力Td原始值
        /// </summary>
        public float? OutletPressureOrg { get; set; }

        /// <summary>
        /// 增压器滑油出口压力
        /// </summary>
        public string OutletPressure => OutletPressureOrg?.ToString();


        /// <summary>
        /// 增压器废气进口温度时间戳
        /// </summary>
        public DateTime? EGInTempTs { get; set; }

        /// <summary>
        /// 增压器废气进口温度Td原始值
        /// </summary>
        public float? EGInTempOrg { get; set; }


        /// <summary>
        /// 增压器废气进口温度
        /// </summary>
        public string EGInTemp => EGInTempOrg?.ToString();

        /// <summary>
        /// 增压器废气出口温度时间戳
        /// </summary>
        public DateTime? EGOutTempTs { get; set; }

        /// <summary>
        /// 增压器废气出口温度Td原始值
        /// </summary>
        public float? EGOutTempOrg { get; set; }

        /// <summary>
        /// 增压器废气出口温度
        /// </summary>
        public string EGOutTemp => EGOutTempOrg?.ToString();

    }
}
